T(RN, 0x1.fffffep+127,                            inf,             inf,          0x0p+0, INEXACT|OVERFLOW)
T(RN, 0x1.fffffep+127,                        0x0p+0L, 0x1.fffffcp+127,          0x0p+0, 0)
T(RN,        0x1p-149,                           -inf,          0x0p+0,          0x0p+0, INEXACT|UNDERFLOW)
T(RN,        0x1p-149,                            inf,        0x1p-148,          0x0p+0, INEXACT|UNDERFLOW)
#if LDBL_MANT_DIG > DBL_MANT_DIG
T(RN,        0x1p-149,      0x1.ffffffffffffffep-150L,          0x0p+0,          0x0p+0, INEXACT|UNDERFLOW)
T(RN,        0x1p-149,      0x1.000000000000002p-149L,        0x1p-148,          0x0p+0, INEXACT|UNDERFLOW)
T(RN,          0x1p+0,       0x1.0000000000000002p+0L,   0x1.000002p+0,          0x0p+0, 0)
T(RN,          0x1p+0,       0x1.fffffffffffffffep-1L,   0x1.fffffep-1,          0x0p+0, 0)
#endif
T(RN,        0x1p-149,        0x1.fffffffffffffp-150L,          0x0p+0,          0x0p+0, INEXACT|UNDERFLOW)
T(RN,        0x1p-149,        0x1.0000000000001p-149L,        0x1p-148,          0x0p+0, INEXACT|UNDERFLOW)
T(RN,          0x1p+0,          0x1.0000000000001p+0L,   0x1.000002p+0,          0x0p+0, 0)
T(RN,          0x1p+0,          0x1.fffffffffffffp-1L,   0x1.fffffep-1,          0x0p+0, 0)
T(RN, 0x1.fffff8p-127,                        0x1p+0L, 0x1.fffffcp-127,          0x0p+0, INEXACT|UNDERFLOW)
T(RN, 0x1.fffffcp-127,                        0x1p+0L,        0x1p-126,          0x0p+0, 0)
T(RN, 0x1.000002p-126,                        0x0p+0L,        0x1p-126,          0x0p+0, 0)
T(RN,        0x1p-126,                        0x0p+0L, 0x1.fffffcp-127,          0x0p+0, INEXACT|UNDERFLOW)
T(RN,          0x1p+0,                        0x1p+0L,          0x1p+0,          0x0p+0, 0)
T(RN,          0x1p+0,                       -0x1p+0L,   0x1.fffffep-1,          0x0p+0, 0)
T(RN,         -0x1p+0,                        0x1p+0L,  -0x1.fffffep-1,          0x0p+0, 0)
T(RN,         -0x1p+0,                       -0x1p+0L,         -0x1p+0,          0x0p+0, 0)
T(RN,          0x1p+0,                            nan,             nan,          0x0p+0, 0)
T(RN,             nan,                        0x1p+0L,             nan,          0x0p+0, 0)
T(RN,             nan,                            nan,             nan,          0x0p+0, 0)
T(RN,          0x0p+0,                            nan,             nan,          0x0p+0, 0)
T(RN,          0x0p+0,                            inf,        0x1p-149,          0x0p+0, INEXACT|UNDERFLOW)
T(RN,          0x0p+0,                           -inf,       -0x1p-149,          0x0p+0, INEXACT|UNDERFLOW)
T(RN,          0x0p+0,                        0x0p+0L,          0x0p+0,          0x0p+0, 0)
T(RN,          0x0p+0,                       -0x0p+0L,         -0x0p+0,          0x0p+0, 0)
T(RN,         -0x0p+0,                            nan,             nan,          0x0p+0, 0)
T(RN,         -0x0p+0,                            inf,        0x1p-149,          0x0p+0, INEXACT|UNDERFLOW)
T(RN,         -0x0p+0,                           -inf,       -0x1p-149,          0x0p+0, INEXACT|UNDERFLOW)
T(RN,         -0x0p+0,                        0x0p+0L,          0x0p+0,          0x0p+0, 0)
T(RN,         -0x0p+0,                       -0x0p+0L,         -0x0p+0,          0x0p+0, 0)
T(RN,             inf,                            inf,             inf,          0x0p+0, 0)
T(RN,             inf,                           -inf, 0x1.fffffep+127,          0x0p+0, 0)
T(RN,             inf,                            nan,             nan,          0x0p+0, 0)
T(RN,            -inf,                            inf,-0x1.fffffep+127,          0x0p+0, 0)
T(RN,            -inf,                           -inf,            -inf,          0x0p+0, 0)
T(RN,            -inf,                            nan,             nan,          0x0p+0, 0)
